/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package bmacotada.orm.dao;

import org.orm.*;
import bmacotada.orm.*;

public interface Pregunta_1DAO {
	public Pregunta_1 loadPregunta_1ByORMID(int pr_id_pregunta) throws PersistentException;
	public Pregunta_1 getPregunta_1ByORMID(int pr_id_pregunta) throws PersistentException;
	public Pregunta_1 loadPregunta_1ByORMID(int pr_id_pregunta, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta_1 getPregunta_1ByORMID(int pr_id_pregunta, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta_1 loadPregunta_1ByORMID(PersistentSession session, int pr_id_pregunta) throws PersistentException;
	public Pregunta_1 getPregunta_1ByORMID(PersistentSession session, int pr_id_pregunta) throws PersistentException;
	public Pregunta_1 loadPregunta_1ByORMID(PersistentSession session, int pr_id_pregunta, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta_1 getPregunta_1ByORMID(PersistentSession session, int pr_id_pregunta, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta_1[] listPregunta_1ByQuery(String condition, String orderBy) throws PersistentException;
	public Pregunta_1[] listPregunta_1ByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta_1[] listPregunta_1ByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Pregunta_1[] listPregunta_1ByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta_1 loadPregunta_1ByQuery(String condition, String orderBy) throws PersistentException;
	public Pregunta_1 loadPregunta_1ByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta_1 loadPregunta_1ByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Pregunta_1 loadPregunta_1ByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta_1 createPregunta_1();
	public boolean save(bmacotada.orm.Pregunta_1 pregunta_1) throws PersistentException;
	public boolean delete(bmacotada.orm.Pregunta_1 pregunta_1) throws PersistentException;
	public boolean deleteAndDissociate(bmacotada.orm.Pregunta_1 pregunta_1) throws PersistentException;
	public boolean deleteAndDissociate(bmacotada.orm.Pregunta_1 pregunta_1, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(bmacotada.orm.Pregunta_1 pregunta_1) throws PersistentException;
	public boolean evict(bmacotada.orm.Pregunta_1 pregunta_1) throws PersistentException;
	public Pregunta_1 loadPregunta_1ByCriteria(Pregunta_1Criteria pregunta_1Criteria);
	public Pregunta_1[] listPregunta_1ByCriteria(Pregunta_1Criteria pregunta_1Criteria);
}
